package cn.parus.auth.POJO;

import org.springframework.context.ApplicationEvent;

/**
 * @Author: Axel
 * @Description: TODO Open-Policy-Agent事件类
 **/
@Deprecated
public class OPAEvent extends ApplicationEvent {
    // 请求头的token
    private String token;
    // 请求头的ContentType
    private String contentType;

    public OPAEvent(Object source) {
        super(source);
        this.contentType = contentType;
        this.token = token;
    }

    public String getToken() {
        return token;
    }
    public void setToken(String token) {
        this.token = token;
    }
    public String getContentType() {
        return contentType;
    }
    public void setContentType(String contentType) {
        this.contentType = contentType;
    }
}
